/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.soc.cs5226.gui.entities;

import edu.soc.cs5226.gui.entities.DBParameter;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author huijia
 */
public class xObject {
    private DBParameter xObj = null;
    private List<yObject> yObjects = new ArrayList<yObject>();

    public DBParameter getxObj() {
        return xObj;
    }

    public void setxObj(DBParameter xObj) {
        this.xObj = xObj;
    }

    public List<yObject> getyObjects() {
        return yObjects;
    }

    public void setyObjects(List<yObject> yObjects) {
        this.yObjects = yObjects;
    }

    public void addYObject (yObject yObj)
    {
        yObjects.add(yObj);
    }
}
